package com.carlinfo.userscenter.users.pojo;
/**
 * 一个pojo对应一个枚举
 * 
 * 枚举三要素:
 * 键:(name)和值(status)
 * 变量名:STATUS_DISABLE
 * @author jjh
 *
 */
public enum ARoleEnum
{
	/*
	 * 枚举必须从已经选项卡拿一个出来 红绿灯:多项枚举：类似于MPA
	 */
	/**
	 * 定义枚举项
	 */
	STATUS_DISABLE("禁用",0),
	STATUS_ENABLE("启用",1);
	
	private String name ;
	private int status ;
	
	
	private ARoleEnum(String name, int status)
	{
		this.name = name;
		this.status = status;
	}
	
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getStatus()
	{
		return status;
	}
	public void setStatus(int status)
	{
		this.status = status;
	}
	
}
